package com.ruoyi.SuveryInterface.Imp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.SuveryInterface.Imp.domain.SysIdentitySxbzxr;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-07-11
 */
public interface SysIdentitySxbzxrMapper extends BaseMapper<SysIdentitySxbzxr> {

    void insertBatch(@Param("identitySxbzxrs") List<SysIdentitySxbzxr> identitySxbzxrs);


    @Select("select * from sys_identity_sxbzxr where identity_id = #{identityId}")
    List<SysIdentitySxbzxr> selectByIdentityId(Long identityId);


    List<SysIdentitySxbzxr> selectSysIdentitySxbzxrByIdentityId(Long identityId);
}
